str15 dc.b "And that's to laugh, and smile, and dance, and sing.",0
str16 dc.b "When you're feeling in the dumps,",0
str17 dc.b "Don't be silly chumps,",0
str18 dc.b "Just purse your lips and whistle, that's the thing.",0
str19 dc.b "And...",0
str20 dc.b 0
str21 dc.b "Always look on the bright side of life, come on!",0
str22 dc.b "Always look on the right side of life",0
str23 dc.b 0
str24 dc.b "For life is quite absurd,",0
str25 dc.b "And death's the final word.",0
str26 dc.b "You must always face the curtain with a bow.",0
str27 dc.b "Forget about your sin,",0
str28 dc.b "Give the audience a grin.",0
str29 dc.b "Enjoy it, it's your last chance anyhow,",0
str30 dc.b "So...",0
str31 dc.b 0
str32 dc.b "Always look on the bright side of death",0
str33 dc.b "Just before you draw your terminal breath.",0
str34 dc.b 0
str35 dc.b "Life's a piece of shit,",0
str36 dc.b "When you look at it.",0
str37 dc.b "Life's a laugh, and death's a joke, it's true.",0
str38 dc.b "You'll see it's all a show,",0
str39 dc.b "Keep 'em laughing as you go,",0
str40 dc.b "Just remember that the last laugh is on you.",0
str41 dc.b "And...",0
str42 dc.b 0
str43 dc.b "Always look on the bright side of life !",0
str44 dc.b 0
str45 dc.b "..."
str46 dc.b 0
str47 dc.b "[Thanx to sprooney@unix1.tcd.ie and to M. Python]",0
even
**
** Convetional GadTools NewMenu structures. Since I was
** too lazy to construct my own object oriented menu
** system for now, this is the only part of MUI that needs
** "gadtools.library". Well, GadTools menus aren't that bad.
** Nevertheless, object oriented menus will come soon.
**
ID_ABOUT EQU 1
ID_NEWVOL EQU 2
ID_NEWBRI EQU 3
MyMenus dc.b NM_TITLE,0 ;--
dc.l projecttitle
dc.l 0
dc.w 0
dc.l 0
dc.l 0
dc.b NM_ITEM,0 ;--
dc.l abouttext
dc.l aboutkey
dc.w 0
dc.l 0
dc.l ID_ABOUT
dc.b NM_ITEM,0 ;--
dc.l NM_BARLABEL
dc.l 0
dc.w 0
dc.l 0
dc.l 0
dc.b NM_ITEM,0 ;--
dc.l quittext
dc.l quitkey
dc.w 0
dc.l 0
dc.l MUIV_Application_ReturnID_Quit
dc.l NM_END ;--
projecttitle dc.b "Project",0
even
abouttext dc.b "About...",0
even
aboutkey dc.b "?",0
quittext dc.b "Quit",0
even
quitkey dc.b "Q",0
**
** Here are all the little info texts
** that appear at the top of each demo window.
**
IN_Master dc.b 9,"Welcome to the MUI demonstration program. This little toy will show you how easy it is to create graphical user interfaces with MUI and how powerful the results are."
dc.b 10,9,"MUI is based on BOOPSI, Amiga's basic object oriented programming system. For details about programming, see the 'ReadMe' file and the documented source code of this demo. Only one thing so far: it's really easy!"
dc.b 10,9,"Now go on, click around and watch this demo. Or use your keyboard (TAB, Return, Cursor-Keys) if you like that better. Hint: play around with the MUI preferences program and customize every pixel to fit your personal taste.",0
even
IN_Notify dc.b 9,"MUI objects communicate with each other with the aid of a broadcasting system. This system is frequently used in every MUI application. Binding an up and a down arrow to a prop gadget e.g. makes up a scrollbar, "
dc.b "binding a scrollbar to a list makes up a listview. You can also bind windows to buttons, thus the window will be opened when the button is pressed."
dc.b 10,9,"Remember: The main loop of this demo program simply consists of a Wait(). Once set up, MUI handles all user actions concerning the GUI automatically.",0
even
IN_Frames dc.b 9,"Every MUI object can have a surrounding frame. Several types are available, all adjustable with the preferences program.",0
even
IN_Images dc.b 9,"MUI offers a vector image class, that allows images to be zoomed to any dimension. Every MUI image is transformed to match the current screens colors before displaying."
dc.b 10,9,"There are several standard images for often used GUI components (e.g. Arrows). These standard images can be defined via the preferences program.",0
even
IN_Groups dc.b 9,"Groups are very important for MUI. Their combinations determine how the GUI will look. A group may contain any number of child objects, which are positioned either horizontal or vertical."
dc.b 10,9,"When a group is layouted, the available space is distributed between all of its children, depending on their minimum and maximum dimensions and on their weight."
dc.b 10,9,"Of course, the children of a group may be other groups. There are no restrictions.",0
even
IN_Backfill dc.b 9,"Every object can have his own background, if it wants to. MUI offers several standard backgrounds (e.g. one of the DrawInfo pens or one of the rasters below)."
dc.b 10,"The prefs program allows defining a large number of backgrounds... try it!",0
even
IN_Listviews dc.b 9,"MUI's list class is very flexible. A list can be made up of any number of columns containing formatted text or even images. Several subclasses of list class (e.g. a directory class and a volume class) are available. "
dc.b "All MUI lists hav the capability of multi selection, just by setting a single flag."
dc.b 10,9,"The small info texts at the top of each demo window are made with floattext class. This one just needs a character string as input and formats the text according to its width.",0
even
IN_Cycle dc.b 9,"Cycle gadgets, radios buttons and simple lists can be used to let the user pick exactly one selection from a list of choices. In this example, all three possibilities are shown. Of course they are connected via broadcasting, "
dc.b "so every object will immediately be notified and updated when necessary.",0
even
IN_String dc.b 9,"Of course, MUI offers a standard string gadget class for text input. The gadget in this example is attached to the list, you can control the list cursor from within the gadget.",0
even
**
** These are the entries for the cycle gadgets and radio buttons.